package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-L2 VPN qos上下话优先级对象 busi_l2_vpn_qoslevel
 * 
 * @author net
 * @date 2024-12-15
 */
public class BusiL2VpnQoslevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** L2 VPN业务ID */
    @Excel(name = "L2 VPN业务ID")
    @ApiModelProperty(value = "L2 VPN业务ID")
    private String l2VpnId;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** 上话映射优先级-映射使能 */
    @Excel(name = "上话映射优先级-映射使能")
    @ApiModelProperty(value = "上话映射优先级-映射使能")
    private String upLevelMappingEnable;

    /** 上话映射优先级-策略 */
    @Excel(name = "上话映射优先级-策略")
    @ApiModelProperty(value = "上话映射优先级-策略")
    private String upLevelStrategy;

    /** 上话映射优先级-指配PHB */
    @Excel(name = "上话映射优先级-指配PHB")
    @ApiModelProperty(value = "上话映射优先级-指配PHB")
    private String upLevelAssignPhb;

    /** 上话映射优先级-颜色 */
    @Excel(name = "上话映射优先级-颜色")
    @ApiModelProperty(value = "上话映射优先级-颜色")
    private String upLevelColor;

    /** 上话映射优先级-DS域名称 */
    @Excel(name = "上话映射优先级-DS域名称")
    @ApiModelProperty(value = "上话映射优先级-DS域名称")
    private String upLevelDsName;

    /** 上话映射优先级-优先级类型 */
    @Excel(name = "上话映射优先级-优先级类型")
    @ApiModelProperty(value = "上话映射优先级-优先级类型")
    private String upLevelType;

    /** 下话映射优先级-映射使能 */
    @Excel(name = "下话映射优先级-映射使能")
    @ApiModelProperty(value = "下话映射优先级-映射使能")
    private String downLevelMappingEnable;

    /** 下话映射优先级-策略 */
    @Excel(name = "下话映射优先级-策略")
    @ApiModelProperty(value = "下话映射优先级-策略")
    private String downLevelStrategy;

    /** 下话映射优先级-指配PHB */
    @Excel(name = "下话映射优先级-指配PHB")
    @ApiModelProperty(value = "下话映射优先级-指配PHB")
    private String downLevelAssignPhb;

    /** 下话映射优先级-颜色 */
    @Excel(name = "下话映射优先级-颜色")
    @ApiModelProperty(value = "下话映射优先级-颜色")
    private String downLevelColor;

    /** 下话映射优先级-DS域名称 */
    @Excel(name = "下话映射优先级-DS域名称")
    @ApiModelProperty(value = "下话映射优先级-DS域名称")
    private String downLevelDsName;

    /** 下话映射优先级-优先级类型 */
    @Excel(name = "下话映射优先级-优先级类型")
    @ApiModelProperty(value = "下话映射优先级-优先级类型")
    private String downLevelType;

    /** 路径类型（1=工作 2=保护 3=备用） */
    @Excel(name = "路径类型", readConverterExp = "1==工作,2==保护,3==备用")
    @ApiModelProperty(value = "路径类型")
    private String routeType;

    /** 是否为模版（Y:是 N:否） */
    @Excel(name = "是否为模版", readConverterExp = "Y=:是,N=:否")
    @ApiModelProperty(value = "是否为模版")
    private String templateFlag;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setL2VpnId(String l2VpnId) 
    {
        this.l2VpnId = l2VpnId;
    }

    public String getL2VpnId() 
    {
        return l2VpnId;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setUpLevelMappingEnable(String upLevelMappingEnable) 
    {
        this.upLevelMappingEnable = upLevelMappingEnable;
    }

    public String getUpLevelMappingEnable() 
    {
        return upLevelMappingEnable;
    }
    public void setUpLevelStrategy(String upLevelStrategy) 
    {
        this.upLevelStrategy = upLevelStrategy;
    }

    public String getUpLevelStrategy() 
    {
        return upLevelStrategy;
    }
    public void setUpLevelAssignPhb(String upLevelAssignPhb) 
    {
        this.upLevelAssignPhb = upLevelAssignPhb;
    }

    public String getUpLevelAssignPhb() 
    {
        return upLevelAssignPhb;
    }
    public void setUpLevelColor(String upLevelColor) 
    {
        this.upLevelColor = upLevelColor;
    }

    public String getUpLevelColor() 
    {
        return upLevelColor;
    }
    public void setUpLevelDsName(String upLevelDsName) 
    {
        this.upLevelDsName = upLevelDsName;
    }

    public String getUpLevelDsName() 
    {
        return upLevelDsName;
    }
    public void setUpLevelType(String upLevelType) 
    {
        this.upLevelType = upLevelType;
    }

    public String getUpLevelType() 
    {
        return upLevelType;
    }
    public void setDownLevelMappingEnable(String downLevelMappingEnable) 
    {
        this.downLevelMappingEnable = downLevelMappingEnable;
    }

    public String getDownLevelMappingEnable() 
    {
        return downLevelMappingEnable;
    }
    public void setDownLevelStrategy(String downLevelStrategy) 
    {
        this.downLevelStrategy = downLevelStrategy;
    }

    public String getDownLevelStrategy() 
    {
        return downLevelStrategy;
    }
    public void setDownLevelAssignPhb(String downLevelAssignPhb) 
    {
        this.downLevelAssignPhb = downLevelAssignPhb;
    }

    public String getDownLevelAssignPhb() 
    {
        return downLevelAssignPhb;
    }
    public void setDownLevelColor(String downLevelColor) 
    {
        this.downLevelColor = downLevelColor;
    }

    public String getDownLevelColor() 
    {
        return downLevelColor;
    }
    public void setDownLevelDsName(String downLevelDsName) 
    {
        this.downLevelDsName = downLevelDsName;
    }

    public String getDownLevelDsName() 
    {
        return downLevelDsName;
    }
    public void setDownLevelType(String downLevelType) 
    {
        this.downLevelType = downLevelType;
    }

    public String getDownLevelType() 
    {
        return downLevelType;
    }
    public void setRouteType(String routeType) 
    {
        this.routeType = routeType;
    }

    public String getRouteType() 
    {
        return routeType;
    }
    public void setTemplateFlag(String templateFlag) 
    {
        this.templateFlag = templateFlag;
    }

    public String getTemplateFlag() 
    {
        return templateFlag;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("l2VpnId", getL2VpnId())
            .append("elementId", getElementId())
            .append("upLevelMappingEnable", getUpLevelMappingEnable())
            .append("upLevelStrategy", getUpLevelStrategy())
            .append("upLevelAssignPhb", getUpLevelAssignPhb())
            .append("upLevelColor", getUpLevelColor())
            .append("upLevelDsName", getUpLevelDsName())
            .append("upLevelType", getUpLevelType())
            .append("downLevelMappingEnable", getDownLevelMappingEnable())
            .append("downLevelStrategy", getDownLevelStrategy())
            .append("downLevelAssignPhb", getDownLevelAssignPhb())
            .append("downLevelColor", getDownLevelColor())
            .append("downLevelDsName", getDownLevelDsName())
            .append("downLevelType", getDownLevelType())
            .append("routeType", getRouteType())
            .append("templateFlag", getTemplateFlag())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
